/*Copyright ©2015 TommyLemon(https://github.com/TommyLemon)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/

package com.nhc.model;

import com.nhc.database.dbmodel.WayPoint;

import java.util.ArrayList;

import zuo.biao.library.base.BaseModel;


public class KMLOne extends BaseModel {

    private static final long serialVersionUID = 1L;

    //coordinates： lon + lat + alt
    public ArrayList<Coordinate> waypointList = new ArrayList<Coordinate>();

    public int type = 0;//0-航点 1-航线 2-航迹

    public String PlacemarkName = "";

    public String FolderName = "";

    public KMLOne() {
        //default
        reset();
    }

    public void reset() {

    }

    @Override
    protected boolean isCorrect() {
        return id > 0;
    }

}
